package cn.edu.scujcc;

import java.util.Optional;

import org.springframework.data.mongodb.repository.MongoRepository;

public interface LivingRepository extends MongoRepository<Living, String>{

	Living findById(User id);

	Optional<Living> findByName(User name);

}
